Automattic\Jetpack\Sync\Actions D

Total Complexity 132
Dependencies 16
Dependents 24
Total lines 1,006
Lines of code 453
Logical lines of code 250
Comment lines 425
Methods 34
Properties 2

Methods 34

Method Rating Maintainability Complexity Lines of code
send_data()
A
37 14 74
do_cron_sync_by_type()
A
48 16 29
get_sync_status()
A
42 12 48
should_initialize_sender()
A
51 10 28
get_debug_details()
A
48 9 31
sync_allowed()
A
54 9 24
init()
S
54 7 21
do_initial_sync()
S
57 5 17
cleanup_on_upgrade()
S
58 5 15
maybe_schedule_sync_cron()
S
60 4 13
jetpack_cron_schedule()
S
59 3 13
do_full_sync()
S
62 3 12
should_initialize_sender_enqueue()
S
66 3 9
initialize_search()
S
64 3 9
do_only_first_initial_sync()
S
69 3 7
get_start_time_offset()
S
63 2 11
prevent_publicize_blacklisted_posts()
S
70 2 6
sanitize_filtered_sync_cron_schedule()
S
67 2 8
initialize_wp_super_cache()
S
70 2 6
add_sender_shutdown()
S
65 2 10
add_dedicated_sync_sender_init()
S
67 2 9
initialize_woocommerce()
S
70 2 6
clear_sync_cron_jobs()
S
77 1 4
init_sync_cron_jobs()
S
64 1 9
add_wp_super_cache_sync_module()
S
76 1 4
initialize_sender()
S
74 1 4
add_woocommerce_sync_module()
S
76 1 4
add_search_sync_module()
S
76 1 4
sync_via_cron_allowed()
S
80 1 3
initialize_listener()
S
79 1 3
do_cron_sync()
S
80 1 3
mark_sync_read_only()
S
79 1 3
set_is_importing_true()
S
80 1 3
do_cron_full_sync()
S
80 1 3